package com.example.springmysqldemo.result;

import com.example.springmysqldemo.entity.Book;

import java.util.List;

public class ResultBooks {
    private int code;
    String msg;
    List<Book> Books;
    public ResultBooks(int code,String msg, List<Book> Books){
        this.code = code;
        this.msg = msg;
        this.Books = Books;
    }
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<Book> getBooks() {
        return Books;
    }

    public void setBooks(List<Book> books) {
        Books = books;
    }
}
